package com.smedi.ismedi.constructionproject.core.application.command;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 添加或修改特种设备入参
 *
 * @author xienannan
 * @date 2021/08/28
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class TaskRecordCreateCommand {

    /**
     * 来源id
     */
    private Long sourceFromId;

    /**
     * 任务类型
     */
    private String taskType;

    /**
     * 任务名称
     */
    private String taskName;

    /**
     * 任务描述
     */
    private String taskDescribe;

    /**
     * 处理人id
     */
    private Long dealPersonId;

    /**
     * 处理人名称
     */
    private String dealPersonName;

    /**
     * 任务状态
     */
    private String taskStatus;
    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;
    @ApiModelProperty("发起人Id")
    private Long sponsorId;
    @ApiModelProperty("发起人姓名")
    private String sponsorName;
    @ApiModelProperty("项目ID")
    private Long projectId;
    @ApiModelProperty("项目名称")
    private String projectName;
}
